package com.tledu.meeting_info.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tledu.common.annotation.Excel;
import com.tledu.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 会议列表对象 meeting_info
 *
 * @author ruoyi
 * @date 2024-08-29
 */
public class MeetingInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @Excel(name = "主键id")
    private Integer id;

    /**
     * 会议名称
     */
    @Excel(name = "会议名称")
    private String name;

    /**
     * 部门id
     */
    @Excel(name = "部门id")
    private Long deptId;

    /**
     * 紧急程度
     */
    private Long urgencyDegree;

    /**
     * 会议室id
     */
    @Excel(name = "会议室id")
    private Integer roomId;

    /**
     * 类型
     */
    private Long type;

    /**
     * 主持人id
     */
    private Long compereId;

    /**
     * 联系人id
     */
    private Long contactId;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 内容
     */
    private String content;

    /**
     * 附件
     */
    private String attach;

    /**
     * 会议纪要
     */
    private String summary;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Long status;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private Long createUser;

    /**
     * 删除标志(0代表存在 2代表删除)
     */
    private Long delFlag;

    // 引入会议室对象
    private MeetingRoom meetingRoom;

    // 会议室对象的get,set方法
    public MeetingRoom getMeetingRoom() {
        return meetingRoom;
    }

    public void setMeetingRoom(MeetingRoom meetingRoom) {
        this.meetingRoom = meetingRoom;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setUrgencyDegree(Long urgencyDegree) {
        this.urgencyDegree = urgencyDegree;
    }

    public Long getUrgencyDegree() {
        return urgencyDegree;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public Long getType() {
        return type;
    }

    public void setCompereId(Long compereId) {
        this.compereId = compereId;
    }

    public Long getCompereId() {
        return compereId;
    }

    public void setContactId(Long contactId) {
        this.contactId = contactId;
    }

    public Long getContactId() {
        return contactId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public String getAttach() {
        return attach;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getSummary() {
        return summary;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Long getStatus() {
        return status;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setDelFlag(Long delFlag) {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return "MeetingInfo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", deptId=" + deptId +
                ", urgencyDegree=" + urgencyDegree +
                ", roomId=" + roomId +
                ", type=" + type +
                ", compereId=" + compereId +
                ", contactId=" + contactId +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", content='" + content + '\'' +
                ", attach='" + attach + '\'' +
                ", summary='" + summary + '\'' +
                ", status=" + status +
                ", createUser=" + createUser +
                ", delFlag=" + delFlag +
                ", meetingRoom=" + meetingRoom +
                '}';
    }
}
